# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=asahi-audio
pkgver=2.3
pkgrel=0
pkgdesc="userspace audio configuration for Apple Silicon Macs"
url="https://github.com/AsahiLinux/asahi-audio"
arch="aarch64" # only needed for asahi/aarch64 on apple silicon
license="MIT"
options="!check"
depends="
	bankstown-lv2
	lsp-plugins-lv2
	pipewire
	speakersafetyd
	wireplumber
	"
makedepends="cargo cargo-auditable"
source="$pkgname-$pkgver.tar.gz::https://github.com/AsahiLinux/asahi-audio/archive/refs/tags/v$pkgver.tar.gz"

build() {
	make
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="
bb6f0728f8129ed930a6d6dbce499110201ea17f6ac2b94ad392d891e08351fa5825f65f7a38496dc35f80eeaf5cc6ad5d0fbc796b9037a705640071916564b8  asahi-audio-2.3.tar.gz
"
